setFactory2
open fun setFactory2(@NonNull inflater: LayoutInflater, @NonNull factory: LayoutInflater.Factory2)(source)
Attach a custom LayoutInflater.Factory2 for creating views while using this LayoutInflater. This must not be null, and can only be set once; after setting, you can not change the factory.